package com.code.train.service;

import com.code.train.req.DailyTrainStationQueryReq;
import com.code.train.req.DailyTrainStationSaveReq;
import com.code.train.resp.DailyTrainStationQueryResp;
import com.code.train.resp.PageResp;

import java.util.Date;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface DailyTrainStationService {
    void save(DailyTrainStationSaveReq req);

    PageResp<DailyTrainStationQueryResp> queryList(DailyTrainStationQueryReq req);

    void delete(Long id);

    void genDaily(Date date, String trainCode);

    long countByTrainCode(String trainCode, Date date);
}